package com.shujia


/**
 *  对于object修饰的类，那么称为类对象，类对象可以直接对当前定义的方法进行调用
 */
object Test {
  def main(args: Array[String]): Unit = {
    println("this is new Scala")
//    Test.main(args)
//    Test.fun()
//    fun()

    val scalaClazz = new ScalaClazz()
    scalaClazz.main(args)
    scalaClazz.fun()
  }

  def fun(): Unit = {
    println("this is static fun..")
  }

}

//case object YellowE extends EnumT {
//  override val value: String = "蓝色"
//}
